﻿using System.ComponentModel;

namespace WXWorkSvc.Common.Data;
public class TJwt
{
    [Display(Name = "Id", Description = "调用接口所需的Id")]
    public int Id { get; set; }
    [DisplayName("单位")]
    [StringLength(32)]
    public string Name { get; set; } = default!;
    [StringLength(64)]
    [Display(Name = "密钥", Description = "调用接口所需的密钥")]
    public string Secret { get; set; } = default!;
    [Display(Name = "应用扩展", Description = "第三方应用的扩展Id/内部应用的AgentId")]
    public int ExtId { get; set; }
    [NotMapped]
    [DisplayName("删除")]
    public bool IsDelete { get; set; }
}
